<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"> 
<head> 
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
<title>LeproRSS: вход</title> 
<style type="text/css">	
	.logo {
		display:block;
		position:absolute;
		top:30px;
		left:180px;
		width:50px;
		height:50px;
	}
	.logo img {
		display:block;
		border:none;
		width:50px;
		height:50px;
		background:transparent url(http://leprosorium.ru/i/login/logo.png) no-repeat scroll 0 0;
	}
	.form form {
		margin:134px 50px 28px;
		padding:0;
	}
	.form label {
		color:#666666;
	}
	.form a {
		color:#666666;
	}
	.form .error {
		color:#ff0000;
	}
	.form .field {
		margin-bottom:4px;
	}
	.form .field .input {
		background-color:#d3edf2;
		border:1px solid;
		border-top-color:#d6d6d6;
		border-right-color:#f8f1da;
		border-left-color:#ebf4f6;
		border-bottom-color:#ededed;
		padding:1px 2px;
	}
	.form .field input {
		margin:0;
		padding:0;
		border:none;
		width:100%;
		background-color:#d3edf2;
		font-size:32px;
		color:#000;
	}
	.form .field_check {
		margin-bottom:10px;
	}
	.form .field_check input {
		vertical-align:middle;
	}
	.form .field_captcha {
		margin-bottom:15px;
	}
	.loginform{
		height:421px;
		width:405px;
		position:absolute;
		top:50%;
		margin-top:-310px;
		left:50%;
		margin-left:-203px;
		background:url(http://leprosorium.ru/i/login/scroll.png) top left;
	}
</style>
</head> 
<body bgcolor="#7fb17a"> 
<?php 
require_once 'lepro-rss.php';
$rss = new LeproRSS();
$capcha = $rss->getCapcha();
?>
<div style="align:center;"> 
	<div class="loginform"> 
		<div class="ie_bg"></div> 
		<div class="form"> 
			<a class="logo" href="http://leprosorium.ru"><img src="http://leprosorium.ru/i/0.gif" alt="Логотип Суверенного Лепрозория"></a> 
			<form name="lf" method="post" action="main.php"> 
				<div class="field"> 
					<label for="user">Логин:</label> 
					<div class="input"><input type="text" tabindex="1" name="user" id="user" /></div> 
				</div> 
				<div class="field"> 
					<label for="password">Пароль:</label> 
					<div class="input"><input type="password" tabindex="2" name="pass" id="password" /></div> 					
				</div>				
				<div class="field field_captcha">
					<div style="text-align:center; margin-bottom:7px;"><img alt="captcha" src="http://leprosorium.ru/captchaa/<?php echo $capcha ?>" width="250" height="60" /></div> 
					<label for="capture">Шесть букв с картинки:</label> 
					<div class="input"><input type="text" tabindex="3" name="captcha" id="capture" /></div> 
					<input type="hidden" name="logincode" value="<?php echo $capcha ?>" />
				</div> 
				
				<div style="text-align:center;"> 
					<input type="image" tabindex="6" src="http://img.dirty.ru/lepro/yarrr.gif" /> 
				</div> 
			</form> 
		</div> 
	</div> 
</div> 
</body> 
</html> 
